package gientech.spring.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId
    private String uId;

    /**
     * 电话号
     */
    private String uPhone;

    /**
     * 用户名
     */
    private String uUsername;

    /**
     * 密码
     */
    private String uPassword;

    /**
     * 邮箱
     */
    private String uEmail;

    /**
     * 头像
     */
    private String uImage;

    /**
     * 角色
     */
    private Integer uRole;

    /**
     * 
     */
    private Date uCreateTime;

    /**
     * 
     */
    private Date uUpdateTime;

    /**
     * 
     */
    private Integer uIsDel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}